package com.lhj.xxsc.product.feign;

import com.xxsc.common.to.es.SkuEsModel;
import com.xxsc.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author 罗惠江
 * @version 1.0
 * @email 1511619294@qq.com
 * @date 2020/12/1 11:34
 */
@FeignClient("xxsc-search")
public interface SearchFeignService {

	@PostMapping("/search/save/product")
	 R productStatusUp(@RequestBody List<SkuEsModel> skuEsModels);
}
